package com.yuandengta.common.constant;

/**
 * 购物车常量 {@link CartConstant}
 *
 * @author Kevin
 * @email: 178676392@qq.com
 */
public class CartConstant {
    /**
     * 临时用户
     */
    public static final String TEMP_USER_COOKIE_NAME = "user-key";

    /**
     * 临时用户过期时间 30天
     */
    public static final int TEMP_USER_COOKIE_TIMEOUT = 60*60*24*30;

    /**
     * 购物车key前缀
     */
    public static final String CART_PREFIX = "yomall:cart:";
}
